import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
export default pinia

// import { useUserStore } from './modules/user' 1.
// export { useUserStore }  2.
// export { useUserStore } from './modules/user' 3.
export * from './modules/user' // 4.
